package com.rr.mymoney.jsf;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.rr.mymoney.bo.MonthBudgetBo;

// Spring instantiates the object, so there is no use for JSF annotations
@Controller
@Scope("view")
public class BudgetController extends AbstractController {

    private static final long serialVersionUID = 783302241922058133L;

    private Logger log = Logger.getLogger(BudgetController.class);

    private MonthBudgetBo monthBudgetBo;

    @Autowired
    public void setMonthBudgetBo(MonthBudgetBo monthBudgetBo) {
	this.monthBudgetBo = monthBudgetBo;
    }

}
